#ifndef METEORITES_H
#define METEORITES_H
#include <QPainter>
#include <QPixmap>
#include <qmath.h>
#include <ctime>
class Meteorites : public QObject
{
    Q_OBJECT
public:
    Meteorites();
    Meteorites(double x, double y, double angle, double angleInDegrees);
    bool update();
    void draw (QPainter *painter);
    QPointF locate ();
private:
    double m_x,m_y;
    double m_angle;
    double m_angleInDegrees;
    QPixmap m_pixmap;
    qint32 m_speed;
    static const QPixmap picture;

};

#endif // METEORITES_H
